package cn.liccshop.core.backstage.sysRole.service;

import cn.liccshop.core.entity.SysRole;
import cn.liccshop.sys.exception.MySystemException;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author LiCC
 * @since 2019-04-06
 */
public interface ISysRoleService extends IService<SysRole> {

    /**
     * 通过角色ID获取角色下用户的ID
     * @param roleId
     * @return
     */
    List<Map<String, Object>> selectUserIdByRoleId(String roleId) throws MySystemException;

}
